<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"> <ui:composition
	template="/templates/fornecedor.xhtml">

	<ui:define name="menu">
		<ui:include src="/fornecedor/menu.xhtml" />
	</ui:define>


	<ui:define name="conteudo">

		<div id="texto"> <h2>Estatística de cobrança</h2> </div>

		<h:form>

			<p:panel id="pnlDataConsulta">
				<h:panelGrid columns="2">
					<h:outputLabel value="Data : " for="data" style="font-weight:bold" />
					<h:panelGroup>
						<p:calendar id="data" pages="2" />
						<h:commandButton value="Consultar" action="#"
							style="height: 30px;" />
					</h:panelGroup>
				</h:panelGrid>
			</p:panel>
		</h:form>
		<br />

		<h:form>
			<p:panel>
				<h:panelGrid columns="3">
					<h:outputLabel value="Dupilcatas enviadas : " for="enviadas"
						style="font-weight:bold" />
					<h:graphicImage library="imagens" name="barra.png"
						width="#{fornecedorBean.duplicataEnviadas}" />
					<h:outputText value="#{fornecedorBean.duplicataEnviadas}" />

					<h:outputLabel value="Dupilcatas recebidas : " for="recebidas"
						style="font-weight:bold" />
					<h:graphicImage library="imagens" name="barra.png"
						width="#{fornecedorBean.duplicataRecebidas}" />
					<h:outputText value="#{fornecedorBean.duplicataRecebidas}" />

					<h:outputLabel value="Dupilcatas pagas : " for="pagas"
						style="font-weight:bold" />
					<h:graphicImage library="imagens" name="barra.png"
						width="#{fornecedorBean.duplicataPagas}" />
					<h:outputText value="#{fornecedorBean.duplicataPagas}" />

					<h:outputLabel value="Dupilcatas à vencer : " for="vencer"
						style="font-weight:bold" />
					<h:graphicImage library="imagens" name="barra.png"
						width="#{fornecedorBean.duplicataVencer}" />
					<h:outputText value="#{fornecedorBean.duplicataVencer}" />

					<h:outputLabel value="Dupilcatas vencidas a mais de 10 dias : "
						for="vencidasPeriodo" style="font-weight:bold" />
					<h:graphicImage library="imagens" name="barra.png"
						width="#{fornecedorBean.duplicataVencidasPeriodo}" />
					<h:outputText value="#{fornecedorBean.duplicataVencidasPeriodo}" />
				</h:panelGrid>
			</p:panel>
		</h:form>
		
		<h:form>
		
		
		<p:panel>
		
<!-- 		<p:barChart id="basic" value="teste" legendPosition="ne" -->
<!--             title="Basic Bar Chart" min="0" max="200" style="height:300px"/> -->
		
		
		</p:panel>
		
		
		</h:form>
		
		
		
		
		
	</ui:define>
</ui:composition> </html>